/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package startupsolutions.mobilize;

import javax.jdo.annotations.*;

/**
 *
 * @author ultimoistante
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class UserBean
	{
	@PrimaryKey
	@Persistent
	private String username;
	@Persistent
	private String password;
	@Persistent
	private String firstName;
	@Persistent
	private String lastName;
	@NotPersistent
	public boolean valid;

	
	public UserBean()
		{
		this.valid = false;
		}
	
	public String getFirstName()
		{
		return firstName;
		}

	public void setFirstName(String newFirstName)
		{
		firstName = newFirstName;
		}

	public String getLastName()
		{
		return lastName;
		}

	public void setLastName(String newLastName)
		{
		lastName = newLastName;
		}

	public String getPassword()
		{
		return password;
		}

	public void setPassword(String newPassword)
		{
		password = newPassword;
		}

	public String getUsername()
		{
		return username;
		}

	public void setUserName(String newUsername)
		{
		username = newUsername;
		}

	public boolean isValid()
		{
		return valid;
		}

	public void setValid(boolean newValid)
		{
		valid = newValid;
		}
	}
